Change xm dmesg -c so that it prints out the current buffer as well as clearing
authorEwan Mellor <ewan@xensource.com>
Wed, 21 Mar 2007 12:03:42 +0000 (12:03 +0000)
committerEwan Mellor <ewan@xensource.com>
Wed, 21 Mar 2007 12:03:42 +0000 (12:03 +0000)
commit9639f3da4fbb1240b5501588ce2e33896f28957d
treea42632cfd66c544e909b48472b9bcd58af5fb982
parent27c451323a75bd3c787689fa5abd171476d5ec25
Change xm dmesg -c so that it prints out the current buffer as well as clearing
it.  This avoids a race so that you don't lose messages, matches the behaviour
of the hypercall, and the Unix dmesg command.

Change the Xen-API binding to use a separate function host.dmesg_clear rather
than a flag on host.dmesg.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendAPI.py
tools/python/xen/xend/XendDmesg.py
tools/python/xen/xm/main.py